package cn.jobstart.pubInter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * @author sunke
 * @Date 2019-09-11 09:14
 * @description
 */
@Data
public abstract class AbstractPageDTO extends AbstractDTO {

/*
    @ApiModelProperty(value = "自定义sql")
    private String customSql;*/

    @ApiModelProperty(value = "页码")
    private Integer pageNumber = 1;

    @ApiModelProperty(value = "每页数量")
    private Integer pageSize = 15;


    @ApiModelProperty(value = "排序字段")
    private String orderBy;// 排序字段
    @ApiModelProperty(value = "倒序，顺序")
    private String orderDesc = "desc";// 倒序，顺序

    @ApiModelProperty(value = "排序字段1")
    private String orderBy1;
    @ApiModelProperty(value = "倒序，顺序1")
    private String orderDesc1 = "desc";

    @ApiModelProperty(value = "排序字段2")
    private String orderBy2;
    @ApiModelProperty(value = "倒序，顺序2")
    private String orderDesc2 = "desc";


    @ApiModelProperty("创建时间")
    private Date createTimeStart;

    @ApiModelProperty("创建时间")
    private Date createTimeEnd;


    @ApiModelProperty(value = "主键IDs")
    private List idIn;


    //是否要填充其它数据
    private int fullOtherData = 1;


    /**
     * 用来保持是否附加其实数据
     */
    @ApiModelProperty(value = "用来保持附加其实数据")
    private Set<String> fullConfigSet;

    @ApiModelProperty(value = "用来保持要删除的数据key")
    private Set<String> unFullConfigSet;

    @ApiModelProperty(value = "是否删除 1:是:Y,0:否:N")
    private Integer delFlagEq = new Integer(0);


}
